# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=snscan
pkgver=1.05
pkgrel=6
pkgdesc='A Windows based SNMP detection utility that can quickly and accurately identify SNMP enabled devices on a network.'
url='http://www.mcafee.com/uk/downloads/free-tools/snscan.aspx'
groups=('blackarch' 'blackarch-windows' 'blackarch-scanner')
license=('custom:unknown')
arch=('any')
source=("http://b2b-download.mcafee.com/products/tools/foundstone/$pkgname.zip")
sha512sums=('20c2144219a5adc3c804ed117aece60ffdb8d5de7f8e24063818c6ad5c345ecc8809d1fed419f9b72e85f99d9c9237ff8073d12a5417ea4e6735c0fba26b7521')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  rm "$pkgname.zip"

  cp -a * "$pkgdir/usr/share/windows/$pkgname"
}

